using System;
using System.Collections.Generic;
using System.Text;

namespace Mpi.Common
{
    public class PropertyHasChangedEventArgs<T> : EventArgs
    {
        private T oldVal;
        private T newVal;
        public T NewValue
        {
            get { return newVal; }
        }

        public T OldValue
        {
            get { return oldVal; }
        }

        public PropertyHasChangedEventArgs(T oldVal, T newVal)
        {
            this.oldVal = oldVal;
            this.newVal = newVal;
        }
    }
}
